package com.happycat.mobile.model;
 
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.util.Date;
import com.alibaba.fastjson.annotation.JSONField;
import lombok.Data;
/**
 * Module: UserSetting.java
 *
 * @author liaoyong
 * @since JDK 1.8
 * @version 1.0
 * @date 2020-08-09
 * @Descriptions:
 */
@Data
@TableName(value = "user_setting")
@ApiModel
public class UserSetting  {
	
	
	@TableId(value = "id", type = IdType.INPUT)
	private Long id;
	
	@TableField("account_id")
	@ApiModelProperty(value="")
	private Long accountId;
	
	@ApiModelProperty(value="",example = "2020-01-01T12:18:48")
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	private Date createTime;
	
	@TableField("setting_id")
	@ApiModelProperty(value="设置id")
	private Long settingId;
	
	@TableField("status")
	@ApiModelProperty(value="是否开启，0：是，1：否")
	private Integer status;
	
	@TableField(exist = false)
	@ApiModelProperty(value="app设置")
	private CatAppSetting catAppSetting;
}